package com.terry.bootdemo.api.Result;

import java.io.Serializable;

public class TokenResult implements Serializable {
    //状态
    private boolean flag=true;
    private String msg="";
    private  String token="";

    public TokenResult(boolean flag, String msg, String token) {
        this.flag = flag;
        this.msg = msg;
        this.token = token;
    }

    public TokenResult() {

    }

    public boolean isFlag() {

        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
